/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Current.Structures;

import java.io.Serializable;

/**
 * @author Fork
 */
public class EconomyFortification extends Fortification implements Serializable, Cloneable {

    private int goldPerMiner;
    private int depositsPerDay;

    public EconomyFortification(int costToBuy, int goldPerMiner, int depositsPerDay) {
        super(costToBuy);
        this.goldPerMiner = goldPerMiner;
        this.depositsPerDay = depositsPerDay;
    }

    public EconomyFortification() {
        super.costToBuy = 0;
        this.goldPerMiner = 50;
        this.depositsPerDay = 3;
    }

    //Deposits Per Day Info Handling
    public int getDepositsPerDay() {
        return depositsPerDay;
    }

    public void setDepositsPerDay(int depositsPerDay) {
        this.depositsPerDay = depositsPerDay;
    }

    //Gold Per Miner Info Handling
    public int getGoldPerMiner() {
        return goldPerMiner;
    }

    public void setGoldPerMiner(int goldPerMiner) {
        this.goldPerMiner = goldPerMiner;
    }
}
